﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using PSE.Framework.Configuration;

namespace PSE.Framework.Common.Security.Services.Configuration
{
    public class EndpointConfigurationSection : ConfigurationSection
    {

        public EndpointConfigurationSection()
        {
        }

        [ConfigurationProperty("endpoints")]
        [ConfigurationCollection(typeof(EndpointConfigurationElement), AddItemName = "endpoint")]
        public ConfigurationCollection<EndpointConfigurationElement> Endpoints
        {
            get
            {
                return (ConfigurationCollection<EndpointConfigurationElement>)this["endpoints"];
            }
        }

    }
}
